lib/sort: adjust types
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:20:54 +0000 (13:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:20:54 +0000 (13:20 +0100)
commitfa679ef8b429cf2906318a845ba90f0568fa531d
tree3d3c75914a0dd1d98e633240c852eed509951270
parent6fbb41258e9f733cd2b9254efae035c350d93920
lib/sort: adjust types

First and foremost do away with the use of plain int for sizes or size-
derived values. Use size_t, despite this requiring some adjustment to
the logic. Also replace u32 by uint32_t.

While not directly related also drop a leftover #ifdef from x86's
swap_ex - this was needed only back when 32-bit Xen was still a thing.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/extable.c
xen/include/xen/sort.h
xen/lib/sort.c